﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Interfaces.RepositoryModels.InternalModels.EconomicInformationModels
{
    public class IndustryModel : NameSupportedModel
    {
        
        [Key]
        [Column(Order = 2)]
        public int Key { get; set; }
        
        public virtual SectorModel Sector { get; set; }
        
        public virtual ICollection<CompanyModel> Companies { get; set; }
    }
}
